module.exports = function(sequelize, DataTypes) {
  return sequelize.define('focusDetail', {
    userId: {
      type: DataTypes.STRING,
      field: 'user_id',
      allowNull: false
    },
    detailId: {
      type: DataTypes.STRING,
      field: 'detail_id',
      allowNull: false
    },
    createAt: {
      type: DataTypes.DATE
    }
  },
  {
    tableName: 'recommend_focus'
  })
}